package top.dark.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import top.dark.common.utils.R;

/**
 * Author: lijiao
 * description:
 * Create Time: 2021/3/20 18:31
 */
@FeignClient("mall-third-party")
public interface ThirdPartyFeignService {

    @RequestMapping("/sms/sendSmsCode")
    R sendSmsCode(@RequestParam("msisdn") String msisdn, @RequestParam("code")  String code);

}
